package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import com.zzyl.vo.NursingProjectVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description NursingProjectMapper
 * @Author xzy
 * @Date 2025-05-08  17:13
 */
@Mapper
public interface NursingProjectMapper {

    Page<NursingProjectVo> pageNursingProjects(String name, Integer status);

    void addNursingProject(NursingProject nursingProject);

    NursingProject getNursingProjectById(Long id);

    void modifyNursingProject(NursingProject nursingProject);

    void removeNursingProject(Long id);

    void enableOrDisable(Long id, Integer status);
}
